package moodish.server.tests;

import moodish.comm.ServerSideMessage;

public class MsgConnect implements ServerSideMessage {

	private String _nickname;
	
	public MsgConnect(String nickname){
		_nickname = nickname;
	}
	
	@Override
	public Type getType() {
		return ServerSideMessage.Type.CLIENT_CONNECTED;
	}

	@Override
	public String getPayload() {
		return null;
	}

	@Override
	public String getClientNickname() {
		return _nickname;
	}

}
